# 集合的练习
my_list = ["黑马程序员","传智播客","黑马程序员","传智播客","itheima","itcast","itheima","itcast"]

# 定义一个空集合
my_set = set()
# for 循环遍历列表
for element in my_list:
    my_set.add(element)
print(f"去重后的集合对象:{my_set}")